﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;


namespace MvcMusicStore.Models
{
    public class MusicStoreEntities :DbContext
    {
        
        public DbSet<Album> Albums { set; get; }
        public DbSet<Genre> Genres { set; get; }
        public DbSet<Artist> Artists { set; get; }
        public DbSet<Cart> Carts { set; get; }
        public DbSet<Order> Orders { set; get; }
        public DbSet<OrderDetail> OrderDetails { set; get; }

        public MusicStoreEntities():base("MusicStoreDB")
        {
             
        }
    }
}